import Vue from 'vue'
import Vuex from 'vuex'
// getters
import getters from './getters'
// modules
import account from './account'
import dashboard from './dashboard'
import pages from './pages'
import videoDetails from './videoDetails'
import comment from './comment'
Vue.use(Vuex)
// new Vuex
const store = new Vuex.Store({
  modules: {
    account,
    dashboard,
    pages,
    videoDetails,
    comment
  },
  getters
})

export default store
